* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: Alatsi Regular;
    src: url(Alatsi-Regular.ttf);
}

@font-face {
    font-family: Antic Regular;
    src: url(Antic-Regular.ttf);
}

a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

a:hover {
    text-decoration: underline;
}

html,
body {
    background: linear-gradient(270deg, #7294d4, #a239d6);
    background-size: 400% 400%;

    -webkit-animation: backgroundAnim 10s ease infinite;
    -moz-animation: backgroundAnim 10s ease infinite;
    animation: backgroundAnim 10s ease infinite;
}

@-webkit-keyframes backgroundAnim {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

@-moz-keyframes backgroundAnim {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

@keyframes backgroundAnim {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}


body {
    color: rgb(238, 247, 248);
    font-family: Antic Regular;
}

h3 {
    font-size: 4.5rem;
    font-family: Alatsi Regular;
}

#link {
    background-color: aquamarine;
    padding: 2px;
    text-decoration: none;
    color: black;
    font-weight: 600;
}

span {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 2px;
}

#wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateY(70%);
}

#wrapper1 {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: flex-start;
    gap: 3vw;
    margin-top: 2em;
}

.text {
    max-width: 200px;
    width: 22vw;
    letter-spacing: 1.8px;
}

#title {
    display: flex;
    align-items: center;
    gap: 2.4em;
}

#getInTouch {
    text-align: center;
    width: 8em;
    height: 3em;
    position: relative;
    cursor: pointer;
    font-weight: 600;
}

#getInTouch p {
    color: black;
    position: absolute;
    text-align: center;
    background-color: aquamarine;
    width: 135px;
    padding-top: 18px;
    padding-bottom: 18px;
    font-size: 18px;
}

#getInTouch p:hover {
    background-color: #a9badb;
    color: beige;
    transition: background-color 0.2s;
    text-shadow: 0px 0px 2px black;
    font-weight: 800;
}

#contacts div {
    width: 4.2em;
    height: 4.2em;
}

#contacts div:hover {
    opacity: 0.8;
}

#contacts {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    gap: 3em;
    margin-top: 5vh;
}

#instagram {
    background: url(./media/instagram.svg);
    background-position: 50% 50%;
    background-size: contain;
    cursor: pointer;
}

#github {
    background: url(./media/github.svg);
    background-position: 50% 50%;
    background-size: contain;
    cursor: pointer;
}

#twitter {
    background: url(./media/x-svg.svg);
    background-position: 50% 50%;
    background-size: 135%;
    background-repeat: no-repeat;
    cursor: pointer;
}

#linkedin {
    background: url(./media/linkedin-svg.svg);
    background-position: 50% 50%;
    background-size: 199%;
    background-repeat: no-repeat;
    width: 5em;
    height: 5em;
    cursor: pointer;
}


/* For phones */
@media (max-height: 800px) {
    #wrapper {
        transform: translateY(20%);
    }
}

@media (max-width: 635px) {
    #wrapper {
        transform: translateY(10%);
    }

    #title {
        flex-direction: column;
    }

    span {
        margin-top: -4em;
        margin-bottom: 4em;
    }
    .text {
        width: 49vw;
        letter-spacing: 1.8px;
        margin: 1vw;
        font-size: 18px;
    }

    #one {
        height: 80vh;
    }
}

@media (max-width: 480px) {
    h3 {
        font-size: 3.2em;
    }
    span {
        font-size: 1em;
        margin-top: -5em;
    }
    .text {
        width: 40vw;
        letter-spacing: 1.8px;
        margin: 1vw;
        margin: 0;
    }
    #one {
        height: 100vh;
    }
}


@media (max-height: 650px) {
    #wrapper {
        transform: translateY(10%);
    }
}

@media (max-height: 390px) {
    #contacts {
        display: none;
    }
}