@import url('https://fonts.googleapis.com/css2?family=Ubuntu&display=swap');

* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    box-sizing: border-box;
    font-family: 'Ubuntu', sans-serif;
}

html {
    font-size: 62.5%;
}

.main-content {
    margin: 1% auto;
    width: 97%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 2%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.sub-title {
    text-align: center;
    font-size: 3rem;
    padding: 2%;
    margin: 2%;
    display: flex;
    flex-direction: column;
}

.icons-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

.icon {
    padding: 2%;
}

.icon img {
    cursor: pointer;
    max-width: 64px;
    max-height: 64px;
    padding: 3px;
    border-radius: 30%;
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    transition-duration: .2s;
    transition-timing-function: ease-in;
}

.icon img:hover {
    opacity: 70%;
    transform: rotateZ(45deg);
}

.icon img:active {
    opacity: 100%;
}

.modal-main {
    position: absolute;
    top: -60%;
    left: 50%;
    transform:translate(-50%,-50%);
    background-color: rgb(255, 255, 255);
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    z-index: 10;
    width: 70vw;
    height: 80vh;
    display: none;
    opacity: 0;
    animation: stt;
    animation-duration: .7s;
    animation-fill-mode: forwards;
}
.modal-conteiner{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.modal-row{
    background-color: rgb(197, 197, 197);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    height: 50%;
    padding: 0.5%;
    font-weight: 600;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.19);
}
.modal-close{
    cursor: pointer;
    transition-duration: .6s;
    transition-timing-function: ease-in;
    padding: 2%;
}
.modal-close:hover{
    background-color: rgba(194, 15, 15, 0.815);
    border-radius: 20%;
}
.modal-title{
    padding: 2%;
    font-weight: 600;
}
.modal-info-box{
    display: flex;
    flex-direction: column;
    align-items: center;
    border: none;
    padding: 4%;
    font-weight: 600;
    margin: 5%;
    font-size: large;
    width: 90%;
    height: 100%;
    background-color: rgb(197, 197, 197);
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.19);
}

html,
body {
    height: 100vh;
    font-family: 'Ubuntu', sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body {
    font-size: 1.6rem;
}

header {
    background-color: cadetblue;
}

header img {
    width: 64px;
    margin-left: 2px;
    padding: 13px 0;
}

header .conteiner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 90%;
    max-width: 980px;

    margin: auto;
}

header nav ul {
    display: flex;
}

header nav ul li {
    list-style: none;
}

header nav ul li a {
    text-decoration: none;
    color: white;
    text-transform: uppercase;
    font-size: 1.4rem;
    padding: 2.4rem;
    transition: all 250ms linear 0s;
}

header nav ul li a:hover {
    background: rgba(255, 255, 255, 0.15)
}

/*Media queries*/
@media (max-width:768px) {
    html {
        font-size: 50%;
    }
}

@media (max-width:428px) {
    nav {
        display: none;
    }

    .one,
    .two,
    .three {
        background-color: azure;
        height: 5px;
        width: 100%;
        margin: 6px auto;
        transition-duration: .3s;
    }

    .menu-toggle {
        width: 40px;
        height: 30px;
        margin-right: 20px;
    }

    .menu-section.on {
        position: absolute;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: cadetblue;

        z-index: 10;

        display: flex;
        justify-content: center;
        align-items: center;
    }

    .menu-section.on nav {
        display: block;
    }

    .menu-section.on .menu-toggle {
        position: absolute;
        right: 30px;
        top: 15px;
    }

    .menu-section.on .menu-toggle .one {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .menu-section.on .menu-toggle .two {
        opacity: 0;
    }

    .menu-section.on .menu-toggle .three {
        transform: rotate(-45deg) translate(8px, -10px);
    }

    .menu-section.on nav ul {
        text-align: center;
        display: inline;
    }

    .menu-section.on nav ul a {
        transition-duration: 0.5s;
        font-size: 3rem;
        ;
        line-height: 4rem;
        display: block;
    }
}

@keyframes stt{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
        top: 40%;
        width: 90vw;
        height: 70vh;
    }

}
.footer-main{
     position: fixed;
     left: 0;
     bottom: 0;
     width: 100%;
     text-align: center;
    background-color: cadetblue;
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.footer-contact{
    padding: 1%;
    font-weight: 600;
    background-color: rgb(78, 136, 138);
    border-radius: 3%;
}