html {
    font-size: 16px;
}

body {
    margin: 0;
    padding: 0;
    background-color: white;
    font-family: "Montserrat", sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1rem;
}

#head-title {
    margin: 0 0 25px 0;
    width: fit-content;
    font-size: 3em;
    font-weight: 700;
    color: #008486;
}

#header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 80px;
}

#head {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
}

#head-img {
    margin: auto;
    width: 90%;
    height: auto;
    border-radius: 25px;
}

#head-txt {
    position: absolute;
    top: 50%;
    left: 25%;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 600px;
}

#logo-header {
    width: 300px;
    height: auto;
}

#txt-head {
    margin: 0;
    font-size: 1.7em;
    font-weight: 500;
    color: #008486;
}

.info {
    display: flex;
    align-items: center;
}

.txt-info-2 {
    margin: 15px 0;
    color: #008486;
    font-weight: 600;
}

#container-head {
    margin: 50px 0 0 0;
    width: 70%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#info-container {
    padding: 20px;
    border-radius: 25px;
    width: 45%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: solid #00f4f7 ;
}

#info-head {
    width: 100%;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.3rem;
}

#img-maps {
    border-radius: 25px;
    height: auto;
}
#head-title-maps{
    display: none;
    font-size: 2.5rem;
    color: #008486;
    font-weight: 600;
}

#media {
    margin-top: 30px;
    width: 70%;
    border-radius: 25px;

    padding: 20px 0 25px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#title-media {
    font-size: 3.3rem;
    font-weight: 600;
    color: #008486;
    margin: 0;
}

#media-links {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.media-square {
    margin: 10px;
    border-radius: 50px;
    padding: 20px;
    width: 6rem;
    height: 6rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    background-color: #00f4f7;
}

.media-txt {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 600;
    color: #008486;
}

.link-media {
    text-decoration: none;
}

.img-links {
    width: 80%;
    height: auto;
    margin: auto;
}

#img-maps:hover {
    filter: grayscale(75%);
    transition-duration: 500ms;
}

.media-square:hover {
    filter: grayscale(75%);
    transition-duration: 500ms;
}

@media screen and (max-width: 1670px) {
    html {
        font-size: 12px;
    }
}

@media screen and (max-width: 1410px) {
    html {
        font-size: 11px;
    }
    .media-square {
        width: 5rem;
        height: 5rem;
    }
}

@media screen and (max-width: 1360px) {
    html {
        font-size: 11px;
    }
    #container-head {
        justify-content: space-around;
        flex-direction: column;
    }
    #info-container {
        width: 90%;
        margin: 20px 0;
    }
    #img-maps {
        width: 90%;
    }
}

@media screen and (max-width: 1310px) {
    html {
        font-size: 11px;
    }
    #container-head {
        justify-content: space-around;
        flex-direction: column;
    }
    #info-container {
        width: 90%;
        margin: 20px 0;
    }
    #img-maps {
        width: 90%;
    }
    #contact-img {
        display: none;
    }
    #input-list {
        width: 70%;
        margin: auto;
    }
}

@media screen and (max-width: 960px) {
    html {
        font-size: 9px;
    }
    #container-head {
        justify-content: space-around;
        flex-direction: column;
    }
    #info-container {
        width: 90%;
        margin: 20px 0;
    }
    #img-maps {
        width: 90%;
    }
    #contact-img {
        display: none;
    }
    #input-list {
        width: 90%;
        margin: auto;
    }
}

@media screen and (max-width: 830px) {
    html {
        font-size: 9px;
    }
    #contact{
        width: 90%;
    }
    #container-head {
        justify-content: space-around;
        flex-direction: column;
    }
    #info-container {
        width: 90%;
        margin: 20px 0;
    }
    #img-maps {
        width: 90%;
    }
    #contact-img {
        display: none;
    }
    #input-list {
        width: 90%;
        margin: auto;
    }
    .link-media {
        margin: 0;
    }
}

@media screen and (max-width: 770px) {
    html {
        font-size: 9px;
    }
    #media {
        width: 90%;
    }
    #info-container {
        width: 90%;
        margin: 20px 0;
    }
    #img-maps {
        width: 90%;
    }
    #contact-img {
        display: none;
    }
    #input-list {
        width: 90%;
        margin: auto;
    }
    .link-media {
        margin: 0;
        width: fit-content;
    }

    #title-media {
        font-size: 2.3rem;
    }
}

@media screen and (max-width: 660px) {
    html {
        font-size: 10px;
    }
    #head-title-maps{
        display: block;
    }
    #container-head {
        width: 90%;
        margin-top: 50px;
        justify-content: space-around;
        flex-direction: column;
    }
    #contact {
        width: 90%;
        height: fit-content;
    }
    #media {
        width: 90%;
        font-size: 9px;
    }
    #info-container {
        width: 90%;
        margin: 20px 0;
    }
    #img-maps {
        width: 100%;
    }
    #contact-img {
        display: none;
    }
    #input-list {
        width: 100%;
        margin: auto;
    }
    .link-media {
        margin: 0;
        width: fit-content;
    }
    #title-media {
        font-size: 1.8rem;
    }
    #bottom-head {
        flex-direction: column;
    }
    .media-square {
        width: 5rem;
        height: 5rem;
    }
}

@media screen and (max-width: 470px) {
    html {
        font-size: 11px;
    }
    #container-head {
        margin-top: 30px;
        justify-content: space-around;
        flex-direction: column;
    }
    #media {
        width: 90%;
    }
    #info-container {
        width: 90%;
        margin: 20px 0;
    }
    #img-maps {
        width: 90%;
    }
    #contact-img {
        display: none;
    }
    #input-list {
        width: 90%;
        margin: auto;
    }
    .link-media {
        margin: 0;
        width: fit-content;
    }
    #media{
        font-size: 5px;
    }
    #title-media {
        font-size: 1.5rem;
    }
    #bottom-head {
        flex-direction: column;
    }
    #contact {
        font-size: 11px;
        height: fit-content;
    }
    .media-square {
        width: 2.5rem;
        height: 2.5rem;
    }
}
