@charset "utf-8";

@font-face {
    font-family: 'Handon3gyeopsal300g';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_seven@1.2/Handon3gyeopsal300g.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
           

@font-face {
    font-family: 'NEXON Lv1 Gothic OTF';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@2.1/NEXON Lv1 Gothic OTF.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
    
            
            

:root {
    --main-color:#fefbd8;
    --sub-color:#fcf6a4;
    --accent-color:#aedcf9;
    --accent-sub-color:#84afc9;
    --large-width :1000px;  
} 


a, h1, p{
    font-family: "Handon3gyeopsal300g"; 
    font-size: 1.1em;
}
a { color: black;}

header {
    position: relative;
    z-index: 10;
}
header .header {
    position: absolute;
    top: 30px;
    width: 80%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    min-width: var(--large-width);
}
.header h1 {
    width: 170px; 
}
.header h1 img {
    width: 100%;
}
nav {
    width: 800px;
    text-align: center;
    padding-left: 10px;
}
nav button { display: none;}

#main {
    display: flex;
    justify-content: space-between;
}
#main a{ color: black;}
#main>li { 
    display: block;
    width: 100%;
    padding: 10px 20px;
    line-height: 25px;
    transition: 0.5s;
}

#main>li:hover a{ color: white;}
#main>li:hover {
    background-color: rgba(0,0,0,0.5);
}

#main .main_A{ 
    display: inline-block;
    font-size: 1.2em;
    width: 100%;
    position: relative;
}
#main>li .main_A::after {
    content: "";
    position: absolute;
    bottom: -10px; left: 0;
    width: 0;
    border-bottom:  2px solid var(--accent-color);
    transition: 0.6s;
}
#main>li:hover .main_A::after{
    width: 100%;
}

#main .sub {
    display: none;
    padding-top: 15px;
    font-size: 0.9em;
    line-height: 30px;
}
#main .sub li {
    transition: 0.3s;
}
#main>li:hover .sub{
    display: block;
}
.sub li:hover a{
    font-size: 1.2em;
    color: var(--accent-color) !important;
}
.login {
    margin:10px;
    width: auto;
}
.login ul {
    display: flex;
    justify-content: space-around;
    text-align: center;
    width: 120px;
    height: 25px;
}
.login ul li {
    height: 100%;
    width: 100%;
    transition: 0.3s;
    transform-origin: center;
}
.login ul li:hover{
    transform: scale(0.8);
}
.login ul li a img{ height: 100%;}
.login ul li:nth-child(3) {position: relative;}
.login .search {
    position: absolute;
    top:40px; right: 0;
    width: 0;
    height: 40px;
    display: flex;
    justify-content: space-between;
    overflow: hidden;
    transition: 0.5s;
}
.login .search input{
    width: 450px;
    height: 100%;
    border: 0;
    border-radius: 20px 0 0 20px;
    outline: none;
    background-color: rgba(0,0,0,0.5);
    color: white;
    font-size: 0.9em;
}
.login .search button {
    width: 50px;
    border: 0;
    border-radius: 0 20px 20px 0;
    outline: none;
    background-color: rgba(255, 255, 255, 0.8);

}
.login li:nth-child(3):hover .search { width: 500px;}

@media(max-width: 1000px){
    header .header {
        min-width: 0;
        width: 90%;
        justify-content: space-between;
    }
    .header h1 {
        width: 250px;
    }
    .header h1 img {
        width: 100%;
    }
    nav button{
        position: absolute;
        top: 10px;
        right: 120px;
        display: block;
        background: none;
        outline: 0;
        border: none;
        height: 25px; 
    }
    nav button img { height: 100%;}

    nav #main { display: none;}
    #main {
        position: absolute;
        right: 0px;
        top: 50px;
        background-color: rgba(0, 0, 0, 0.5);
        width: 50%;
        height: 60vh;
    }
    #main a{ color: white;}

    .login ul {
        width: 100px;
        height: 25px;
    }

   
    .login ul li:nth-child(2) {
        margin: 0 5px;
    }
}
@media(max-width: 600px){
    header { 
        background-color: white;
        height: 45px;
    }
    header .header {
        top: 5px !important;
        width: 90%;
    }
    .header h1 {
        width: 400px;
    }
    #main {
        top: 40px;
        width: 100%;
        height: 100vh;
    }
    nav button{
        position: absolute;
        top: 5px;
        right: 110px;
    }
    nav{
        margin-left: 0%;
    }
    .login {
        margin: 5px 0;
    }
    .login ul {
        width: 100px;
        height: 23px;
    }

    .login li:nth-child(3):hover .search { width: 400px;}
}


@media(max-width: 440px){
    .header h1 {
        width: 400px; 
        padding: 5px 0;
    }
    nav button{
        position: absolute;
        top: 5px;
        right: 60px;
    }
    .login {
        position: absolute;
        top: 3px;
        right: -10px;
        margin: 5px 0;
    }
    .login ul {
        width: 60px;
        height: 20px;
    }
    .login li:nth-child(3):hover .search { width: 300px;}
    

}








/* section2 banner */
.banner {
    position: relative;
    top: 0;
    height: 50vw;
    min-height: 600px;
    background-color: var(--main-color);
}
.banner .img_list {
    /* border: 1px solid red; */
    position: absolute;
    right: 0;
    width: 70%;
    height: 100%;
    overflow: hidden;
}
.banner .img_list ul {
    position:absolute;
    display: flex;
    top:0; left: 0;
    width: 600%;
    height: 100%;
}
.banner .i_list ul li {
    position: absolute;
    width: calc(100% / 6);
    height: 100%;
    overflow: hidden;
    display: none;
}

.img_list ul li img{
    height: 100%;
    display: none;
}


.img_list li:nth-child(1) img{ 
   display: block;
}




.banner .text {
    position: absolute;
    bottom: 15vw;
    left: 12%;
    width: 30%;
}
.banner .text img {
    width: 100%;
    margin-bottom: 25px;
}
.banner .text p {
    font-size: 1.1vw;
}
.banner button {
    display: inline-block;
    width: 3vw; height: 3vw;
    outline: none;
    border: none;
    cursor: pointer;
    color: white;
    font-size: 3vw;
}
.banner button span {
    transform: translateY(-5%);
}
.banner .next {
    position: absolute;
    bottom: 8vw;
    background-color: #f4ed98;
    left: 27%;
}
.banner .pre { 
    position: absolute;
    bottom: 8vw;
    background-color: #eae15d;
    left: 30%;
}


@media(max-width: 1000px){
    .banner .text {
        left: 5%;
        bottom: 18vw;
        width: 40%;
    }
    .banner .text img {
        width: 100%;
    }
    .banner .text p {
        font-size: 0.8em;
    }
}
@media(max-width: 600px){
    .banner {
        height: 80vh;
        min-height: 0;
        width: 100%;
   
    }
    .banner .img_list {
        top: 30vh;
        width: 100%;
        height: 50vh;
        overflow: hidden;
    }
    .banner .text {
        left: 5%;
        top: 10vh;
        width: 75%;
    }
    .banner .text img {
        width: 100%;
        margin-bottom: 15px;
    }
    .banner .text p {
        font-size: 1em;
    }
    .banner button {
        display: inline-block;
        width: 40px; height: 40px;
        outline: none;
        border: none;
        cursor: pointer;
        color: white;
        font-size: 35px;
    }
    .banner button span {
        transform: translateY(0);
    }
    .banner .next {
        position: absolute;
        top: 270px;
        background-color: #f4ed98;
        left: 350px;
    }
    .banner .pre { 
        position: absolute;
        top: 270px;
        background-color: #eae15d;
        left: 390px;
    }
}

@media(max-width: 440px){
    .banner button {
        width: 40px; height: 40px;
        font-size: 2.3em;
    }
    .banner .next{
        left: inherit;
        right: 40px;
        top: 220px;
    }
    .banner .pre{
        top: 220px;
        left: inherit;
        right: 0;
    }
}





/* section .con */
.con1box {
    position: relative;
}
.con {
    border: 1px solid transparent;
    height: 50vw;
    min-height: 800px;
    width: var(--large-width);
    margin: auto;
    position: relative;

}
.con .title {
    width: 150px;
    margin: 60px auto;
}
.con .title h2 { width: 100px; margin: auto;}
.con .title h2 img { width: 100%;}
.con .title p {
    font-family: "NEXON Lv1 Gothic OTF";
    font-size: 1em;
}

.con article .imgbox {
    position: absolute;
    overflow: hidden;
    width: 48%;
    min-width: 400px;
    height: 68%;
}
.con article .imgbox img{
    height: 100%;
    min-width: 100%;
}



.con article .new1 .name{
    position: absolute;
    right: 0;
    margin-top: 30px;
    background-color: var(--sub-color);
    width: 55%;
    min-width: 400px;
    height: 270px;
} 
.con article>div .name h3{
    font-family: "NEXON Lv1 Gothic OTF";
    font-size: 2em;
    margin: 30px 70px;
}
.con article>div .name>p {
    font-size: 1em;
    margin: 0 70px;
}


.con article .new1 .more p:nth-child(1) {
    position: absolute;
    width: 40px; height: 40px;
    border-radius: 50%;
    color: transparent;
    margin-top: 2%;
    background-color: var(--accent-color);
    right: 30px;
    transition: 0.5s;
}
.con article .new1 .more p:nth-child(1):hover{
    background-color: var(--main-color);
}
.con article .new1 .more p:nth-child(2){
    position: absolute;
    margin-top: 4%;
    right: 100px;
    font-size: 0.7em;
    color: var(--accent-sub-color);
}
.con article .new1 .more span{
    position: absolute;
    width: 35px;
    margin-top: 5.5%;
    right: 55px;
    border: 0;
    border-top: 1px solid var(--accent-sub-color);
    color: transparent;
}
.con article .new1 .more span::before{
    content: "";
    position: absolute;
    top: -1px;
    right: 0;
    width: 6px;
    border-top: 1px solid var(--accent-sub-color);
    transform-origin: right;
    transform: rotate(45deg);
}
.con article .new1 .more span::after{
    content: "";
    position: absolute;
    top: -1px;
    right: 0;
    width: 6px;
    border-top: 1px solid var(--accent-sub-color);
    transform-origin: right;
    transform: rotate(-45deg);
}
.con article .new1 .png {
    position: absolute;
    height: 52%;
    right: 150px;
    margin-top: 25%;
}
.con article .png img {
    height: 100%;
}

/* .con article .new2 { display: none;} */

/* $$$$$$new2 */
.con article .new2 .name{
    position: absolute;
    right: 0;
    margin-top: 30px;
    background-color: var(--accent-color);
    width: 55%;
    min-width: 400px;
    height: 270px;
} 
.con article .new2 .more p:nth-child(1) {
    position: absolute;
    width: 40px; height: 40px;
    border-radius: 50%;
    color: transparent;
    margin-top: 2%;
    background-color: var(--sub-color);
    right: 30px;
    transition: 0.5s;
}


.con article .new2 .more p:nth-child(1):hover{
    background-color: var(--accent-sub-color);
}
.con article .new2 .more p:nth-child(2){
    position: absolute;
    margin-top: 4%;
    right: 100px;
    font-size: 0.7em;
    color: #f5e503;
}
.con article .new2 .more span{
    position: absolute;
    width: 35px;
    margin-top: 5.5%;
    right: 55px;
    border: 0;
    border-top: 1px solid #f5e503;
    color: transparent;
}
.con article .new2 .more span::before{
    content: "";
    position: absolute;
    top: -1px;
    right: 0;
    width: 6px;
    border-top: 1px solid #f5e503;
    transform-origin: right;
    transform: rotate(45deg);
}
.con article .new2 .more span::after{
    content: "";
    position: absolute;
    top: -1px;
    right: 0;
    width: 6px;
    border-top: 1px solid #f5e503;
    transform-origin: right;
    transform: rotate(-45deg);
}

.con article .new2 .png {
    position: absolute;
    height: 35%;
    right: 50px;
    margin-top: 40%;
}





.con .btn {
    position: absolute;
    right: -10px;
    margin-top: 32%;
}

.con .btn button {
    display: block;
    width: 60px; height: 60px;
    background-color: var(--sub-color);
    outline: none;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    margin: 20px 0;
    position: relative;
}
.con .btn button:hover, .con .btn button.active {
    background-color: var(--accent-color);
}
.con .btn button:nth-child(1) img{
    position: absolute;
    width: 90%;
    right: 5px; top: 10px;
}
.con .btn button:nth-child(2) img{
    position: absolute;
    width: 120%;
    right: 10px; top: 15px;
}
.bar {
    position: absolute;
    bottom: 0;
    background-color: var(--main-color);
    height: 150px;
    width: 100%;
}
@media(max-width: 1000px){
    .con {
        height: 50vh;
        width: 80%;
        position: relative;
    }
    .con .title {
        margin: 60px auto;
        text-align: center;
    }
    .con .title h2 { width: 70px;}
    .con .title p {font-size: 0.8em;}
    .con article .imgbox {
        width: 45%;
        min-width: 0;
        height: 60%;
    }
    .con article .imgbox img{
        height: 110%;
        min-width: 100%;
    }


    .con article .new1 .name{
        margin-top: 2vh;
        width: 60%;
        min-width: 0;
        height: 25vh;
    } 
    .con article>div .name h3{
        font-family: "NEXON Lv1 Gothic OTF";
        font-size: 1.5em;
        margin: 30px 0 20px 50px;
    }
    .con article>div .name>p {
        font-size: 0.9em;
        margin: 0 50px;
    }
    .con article .new1 .png {
        position: absolute;
        height: 48%;
        right: 5vh;
        margin-top: 25vh;
    }
    .con article .new1 .more {
        position: absolute;
        top: 30px;
        right: 0px;
    }
    .con article .new1 .more p:nth-child(2){
        margin-top: 10px;
    }
    .con article .new1 .more span{
        margin-top: 18px;
    }



    .con article .new2 .name{
        margin-top: 2vh;
        width: 60%;
        min-width: 300px;
        height: 25vh;
    } 
    .con article .new2 .png {
        height: 30%;
        right: 30px;
        margin-top: 38vh;
    }
    .con article .new2 .more {
        position: absolute;
        top: 30px;
        right: 0px;
    }
    .con article .new2 .more p:nth-child(2){
        margin-top: 10px;
    }
    .con article .new2 .more span{
        margin-top: 18px;
    }

    .con .btn {
        margin-top: 28vh;
        right: -20px;
    }
    .con .btn button {
        width: 50px; height: 50px;
    }
}
@media(max-width: 600px){
    .con {width: 100%;}
    .con .title {margin: 40px auto;}
    .con article .imgbox {
        width: 45%;
        top: 35vh;
        height: 45%;
        opacity: 0.7;
    }
    .con article .new1 .name{
        margin-top: 0vh;
        width: 85%;
        min-width: 0;
        height: 25vh;
    } 
    .con article .new1 .png {
        height: 50%;
        right: 0;
        margin-top: 24vh;
    }



    .con article .new2 .name{
        margin-top: 0vh;
        width: 85%;
        min-width: 0;
        height: 25vh;
    } 
    .con article .new2 .png {
        height: 30%;
        right:  0vh;
        margin-top: 40vh;
    }
    .con .btn {
        margin-top: 60vh;
        right: 330px;
    }
    .con .btn button { 
        width: 40px; height: 40px;
        margin-right: 30px;
        float: left;
    }
    .bar { display: none;}
}

@media(max-width: 440px){
    .con article .imgbox {
        width: 55%;
        top: 35vh;
        height: 45%;
        opacity: 0.5;
    }
    .con article .new1 .name{
        width: 100%;
    } 
    .con article>div .name h3{
        font-family: "NEXON Lv1 Gothic OTF";
        font-size: 1.5em;
        margin: 20px 0 15px 30px;
    }
    .con article>div .name>p {
        margin: 0 40px;
    }

    .con article .new1 .png {
        position: absolute;
        height: 45%;
        right: 0;
        top: 200px;
    }
    .con article .new2 .name{
        width: 100%;
    } 
    .con article .new2 .png {
        height: 25%;
        right:  0;
        margin-top: 0;
        top: 65vh;
    }
    .con .btn {
        position: absolute;
        right: 25%;
        top: 730px;
        margin-top: 0;
    }
    .con .btn button { 
        width: 50px; height: 50px;
        margin-right: 30px;
        float: left;
    }
}




/* section conB */
.conB {
    position: relative;
    margin: 100px 0;
    height: 300px;
    min-width: var(--large-width);
    overflow: hidden;
}
.conB video {
    transform: translateY(-50%);
    width: 100%;
}
.conB video source{
    width: 100%;
}

.conB>p {
    position: absolute;
    top: 0;
    background-color: rgba(0,0,0,0.5);
    width: 80%;
    height: 230px;
}
.conB div {
    position: absolute;
    top: 0;
    color: white;
    left: 25%;
}
.conB div h2 {
    margin-top: 20px;
    font-family: "NEXON Lv1 Gothic OTF";
    font-weight: bold;
    font-size: 2.5em;
}
.conB div h3 {
    font-family: "NEXON Lv1 Gothic OTF";
    font-size: 1.2em;
    font-weight: bold;
    margin: -10px 0 20px 5px;
}
.conB div p {
    margin-left: 100px;
    width: 50%;
}


@media(max-width: 1000px){
    .conB {
        margin: 50px 0;
        height: 45vh;
        min-width: 0;
    }
    .conB video {width: 300%;}
    .conB>p {
        width: 90%;
        height: 35vh;
    }
    .conB div {
        top: 3vh;
        left: 8vh;
    }
    .conB div p {
        font-weight: lighter;
        margin-left: 0;
        width: 70%;
    }
}
@media(max-width: 600px){
    .conB div {
        top: 0vh;
        left: 5vh;
    }
    .conB div h2 {font-size: 2.1em;}
    .conB div h3 {font-size: 1em;}
    .conB div p {
        width: 80%;
        font-size: 1em;
    }
}
@media(max-width: 440px){
    .conB>p {
        width: 100%;
        height: 230px;
    }
    .conB div p {
        width: 95%;
        font-size: 0.9em;
    }

}


/* section conC */
.conC {
    height: 600px;
    position: relative;
}
.conC h2 {
    margin: 30px auto 100px;
    width: 350px;
}
.conC h2 img {width: 100%;}
.conC .list ul{
    display: flex;
    justify-content: space-around;
    margin: 0 20px;
    
}
.conC .list ul li{
    margin: 0 5px;
    height: 360px;
    position: relative;
    transition: 0.5s;
    overflow: hidden;
}
.conC .list ul li img { 
    height: 100%;
}

.conC .list ul li div {
    position: absolute;
    width: 100%; height: 100%;
    display: block;
    top: 0;
    left: -100%;
    padding: 40px;
    font-family: "NEXON Lv1 Gothic OTF";
    transition: 1.2s;
   
}
.conC .list ul li div h3 {
    position: absolute;
    font-size: 1.5em;
    color: white;

}
.conC .list ul li div a {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 40px;
    color: white;
}
.conC .list ul li div a span{
    padding-top: 20px;
    border-top: 1.5px solid white;
    position: relative;
}
.conC .list ul li div a span::before{
    content: "";
    position: absolute;
    top: -1px;
    right: 0;
    width: 15px;
    border-top: 1.5px solid white;
    transform-origin: right;
    transform: rotate(45deg);
}

.conC .list ul li:hover div {
    left: 0%;
}

.conC .list ul li::before{
    position: absolute;
    content: "";
    width: 0%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
    transition: 0.8s;
}
.conC .list ul li:hover::before {
    width: 100%;
}

.conC p {
    position: absolute;
    bottom: 8%;
    width: 85%;
    height: 100px;
    background: var(--main-color);
    z-index: -10;
}


@media(max-width: 1000px){
    .conC {
        height: 80vh;
    }
    .conC h2 {width: 250px;}
    .conC .list ul{
        justify-content: center;
        flex-wrap: wrap;
        margin-top: -50px;   
    }
    .conC .list ul li{
        margin: 0 10px 20px 10px;
        height: 23vh;
    }
    .conC .list ul li div { padding: 20px;}
    .conC .list ul li div h3 {font-size: 1.2em;}
    .conC .list ul li div a { font-size: 0.8em;}
    .conC p {
        bottom: 15%;
        width: 90%;
        height: 25vh;}

}
@media(max-width: 800px){
    .conC .list ul li:nth-child(5) { display: none;}
}
@media(max-width: 600px){
    .conC {
        display: none;
    }
}




















/* section conD */
.conD {
    width: var(--large-width);
    height: 180px;
    margin: 80px auto;
    position: relative;
}

.conD .D_1{
    position: absolute;
    left: 0;
}
.conD .D_1 h3 {
    font-size: 3vw;
    font-weight: bold;
}

.conD div p{
    font-size: 1em;
    padding: 0 20px;
}
.conD .D_1 p span { 
    color: var(--accent-sub-color);font-weight: bold;}

.conD .D_2 {
    position: absolute;
    right: 0;
}
.conD .D_2 h3 {
    font-size: 3.5vw;
    font-weight: bold;
    margin-top: -10px;
}
.conD>p:nth-child(1) {
    position: absolute;
    top: -50px; left: -30px;
    width: 200px; height: 160px;
    background-color: #e9f9fa;
}
.conD>p:nth-child(2) {
    position: absolute;
    top: 100px; right: -30px;
    width: 230px; height: 200px;
    background-color: #e9f9fa;
}

@media(max-width: 1000px){
    .conD {
        width: 90%;
        height: 20vh;
        margin: 0 auto 60px;
    }
    .conD .D_1 h3 {font-size: 2.5em;}
    .conD div p{padding: 0 30px;}
    .conD .D_2 h3 {font-size: 3em; }
    .conD>p:nth-child(1) {
        top: -80px; left: -30px;
        width: 250px; height: 180px;
    }
    .conD>p:nth-child(2) {
        top: 100px; right: -30px;
        width: 300px; height: 150px;
    }
    .conD .D_1 h3 span img{
        display: none;
    }

}
@media(max-width: 600px){
    .conD {
        width: 100%;
        height: 30vh;
        position: relative;
    }
    .conD div p{padding: 0 30px;}
    .conD .D_2 { 
        position: absolute;
        bottom: 0; right: 0;
    }
    .conD>p:nth-child(1) {
        top: -20px; left: -30px;
        width: 300px; height: 120px;
    }
    .conD>p:nth-child(2) {
        position: absolute;
        right: 0;
        top: 150px; 
        width: 300px; height: 150px;
    }
    .conD .D_1 h3 span img{
        display: none;
    }
    .conD .D_1 h3 span img{
        width: 50px;
        display: inline-block;
    }
}

@media(max-width: 440px){
    .conD {
        margin: 0px auto 120px;
    }
    .conD .D_1 h3 {
        font-size: 2em;
    }
    .conD div p{
        font-size: 0.9em;
    }
    .conD .D_2 h3 {
        font-size: 2.3em;
        margin-top: 50px;
    }
    .conD .D_2 {
        top: 100px;
    }
}




/* sns */
.SNS {
    position: fixed;
    z-index: 100;
    top: 20%;
    right: 0;
    width: 40px;
    height: 120px;
    background-color: var(--accent-color);
    border-radius: 20px 0 0 20px; 
}
.SNS li{
    border: 1px solid transparent;
    width: 60%;
    height: 23px;
    margin: 10px auto;
    transform: translateY(30%);
}

.SNS li img { 
    display: block;
    margin: auto;
    max-width: 100%;
    height: 100%;}

.SNS li img:nth-child(2) {
    display: none;
}
.SNS li:hover img:nth-child(1) { display: none;}
.SNS li:hover img:nth-child(2) {
    display: block;
}

@media(max-width: 1000px){


}
@media(max-width: 600px){
    .SNS {
        position: relative;
        right: -50%;
        transform: translateX(-50%);
        width: 130px;
        height: 40px;
        border-radius: 20px; 
    }
    .SNS ul {
        display: flex;
        justify-content: center;
        width: 80%;
        margin: auto;
    }
    .SNS li{
        width: 25%;
        height: 25px;
        margin: auto;
    }
}

@media(max-width: 440px){
    .SNS li{
        width: 20%;
        height: 20px;
        margin: 5px auto;
    }

}



/* footer */
footer {
    background-color: #fffef2;
    height: 30vh;
    font-size: 0.8em; 
}
footer a {color: #555;}
footer .footer {
    width: var(--large-width);
    margin: auto;
    display: grid;
    grid-template-areas: 
    "ft_A ft_B"
    "ft_A ft_C"
    ;
    grid-gap: 20px;
    padding: 10px;
    height: 100%;
}

.ft_A {
    grid-area: ft_A;
    width: 100%;
}

.ft_A h2 {
    width: 60%;
    margin: 50px auto 0;
}
.ft_A h2 img { width: 100%;}
.ft_A div {
    width: 60%;
    margin: 50px auto 0;
    display: flex;
    justify-content: space-around;
 
}
.ft_A p {width: 35%;}
.ft_A p:nth-child(1) { padding-top: 7px;}
.ft_A p img { 
    width: 100%;}


.ft_B {
    grid-area: ft_B;
    margin: auto;
    width: 90%;
    padding-bottom: 10px;
    border-bottom: 1px solid #555;
}
.ft_B>ul {
    display: flex;
    justify-content: center;
}
.ft_B>ul .main>a { font-weight: bold; font-size: 1.1em;}
.ft_B>ul>li:nth-child(2) { margin: 0 150px;}

.ft_C {
    font-size: 0.9em;
    margin: -30px auto;
    height: 120px;
}

@media(max-width: 1000px){
    footer {
        height: 35vh;
        font-size: 0.7em; 
        overflow: hidden;
    }
    footer .footer {
        width: 90%;
        margin: auto;
        display: grid;
        grid-template-areas: 
        "ft_B ft_B"
        "ft_C ft_C"
        "ft_A ft_A"
        ;
        grid-gap: 20px;
        padding: 30px;
        height: 100%;
    }
    .ft_A {
        width: 80%;
        margin: auto;
        display: flex; justify-content: space-between;}
    .ft_A h2 {
        width: 15%;
        margin: 0;
    }
    .ft_A h2 img { width: 100%;}
    .ft_A div {

        width: 15%;
        margin: 0;
        display: flex;
        justify-content: space-around;
     
    }
    .ft_A p { width: 35%; margin-top: 10px;}
    .ft_A p:nth-child(1) { padding-top: 7px;}
    .ft_A p img { width: 100%;}
    .ft_B>ul>li:nth-child(2) { margin: 0 30%;}
    .ft_C {
        width: 100%;
        font-size: 0.9em;
        margin: 0 15px;
    }
}
@media(max-width: 600px){
    footer {
        position: relative;
        top: -20px;
        height: auto;
        font-size:0.8em; 
    }

    footer .footer {
        width: 100%;
        margin: 40px 10px;
        grid-gap: 20px;
        padding: 0;
    }
    .ft_A {
        width: 80%;
        margin: auto;
        display: flex; justify-content: space-between;
    }
    .ft_A h2 {
        width: 25%;
        margin: auto;
    }
    .ft_A div {
        display: none;
    }
    .ft_B { display: none;}
    .ft_C {
        margin: 0;
    }

}
@media(max-width: 440px){
     footer {
        position: relative;
        top: -20px;
        height: auto;
        font-size:0.8em; 
    }
}


