nav {
    position: relative;
    display: flex;
    justify-content: right;
    padding: 20px;
    background-color: #000000;

}

.logo {
    position: absolute;
    left: 10px;
    display: flex;
    color: #000000;
    font-size: 35px;
    border-radius: 400px;
    border: 2px solid rgb(0, 0, 0);
    background-color: rgb(155, 175, 149);
    padding: 18px 28px;
}

.nav-links {
    display: flex;
}

.nav-links a {
    font-family: 'Times New Roman', Times, serif;
    font-size: 30px;
    background-image: linear-gradient(to right, rgb(169, 236, 161), rgb(231, 196, 211));
    color: transparent;
    background-clip: text;
    text-decoration: none;
    text-align: center;

    padding: 10px 30px;

    border: 2px solid rgba(255, 255, 255, 0);

    margin-left: 15px;
    margin-right: 15px;

}
.nav-links a:hover {
    border-bottom: 2px solid white;
}

body {
    margin: 0;
    height: 1000px;
    background-color: #000000;

}

.myImage{

    display: block;
    margin-left: auto;
    margin-top: -400px;
    width: 750px;
    height: 1250px;

    object-fit: cover;
}

.box{

    position: absolute;
    font-family: Georgia, 'Times New Roman', Times, serif;
    background-image: linear-gradient(to right, rgb(230, 248, 228), rgb(231, 196, 211));
    font-size: 60px;
    margin-top: -650px;
    margin-left: 50px;
    width: 650px;
    padding: 60px 80px;
    border-radius: 50px;

}

.box1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3vw;

    font-size: clamp(20px, 2.2vw, 32px);

    background-image: linear-gradient(
        to right,
        rgb(230, 248, 228),
        rgb(231, 196, 211)
    );

    padding: clamp(30px, 4.2vw, 60px);

    margin-left: 6.3vw;
    margin-right: 0;
    margin-top: 3.5vw;

    width: calc(100% - 6.3vw);

    border-radius: clamp(30px, 5vw, 70px);

    box-sizing: border-box;
    overflow: hidden;
}

.box1 .tamuImage {
    order: -1;
    width: 25%;
    height: auto;

    flex-shrink: 0;

    border-radius: clamp(10px, 1.4vw, 20px);
    border: clamp(6px, 1.5vw, 15px) solid white;
}

.box2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5vw;

    font-size: clamp(20px, 3vw, 40px);

    background-image: linear-gradient(
        to right,
        rgb(230, 248, 228),
        rgb(231, 196, 211)
    );

    padding: clamp(30px, 5vw, 60px);

    margin-left: 0;
    margin-right: 6.3vw;
    margin-top: 3.5vw;

    width: calc(100% - 6.3vw);

    border-radius: clamp(30px, 5vw, 70px);

    box-sizing: border-box;
    overflow: hidden;
}

.box2 .travelImage {
    width: 25%;
    height: auto;

    flex-shrink: 0;

    border-radius: clamp(10px, 1.4vw, 20px);
    border: clamp(6px, 1.5vw, 15px) solid white;
}
.connect_text {
    background-image: linear-gradient(to right, rgb(169, 236, 161), rgb(231, 196, 211));
    color: transparent;
    background-clip: text;
    text-align: center;
    font-size: 10vw;
    margin-top: 100px;
}

.socialLinks {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 120px;
    top: 90px;
}

.socialLinks svg {
    width: 100px;
    height: 100px;
    color: rgb(231, 196, 211);
}

.socialLinks a {
    font-size: 100px;
    color: rgb(231, 196, 211);
    text-decoration: none;
}

.contactInfo {
    position: relative;
    top: 160px;
    display: flex;
    justify-content: center;
}

.contactItem {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 20px;
    color: rgb(169, 236, 161);

}

.contactItem svg {
    width: 100px;
    height: 100px;
    color: rgb(231, 196, 211);
}






@media (max-width: 600px) {

    nav {
        justify-content: center;
        padding: 15px;
    }

    nav:first-of-type .nav-links {
        margin-left: 60px;
    }

    .logo {
        left: 10px;
        font-size: 22px;
        padding: 12px 18px;
    }

    .nav-links a {
        font-size: 18px;
        padding: 8px 10px;
        margin-left: 3px;
        margin-right: 3px;
    }

    /* HOME */

    .myImage {
        width: 100%;
        height: 600px;

        margin: 20px 0 0 0;
    }

    .box {
        position: relative;

        width: 100%;
        box-sizing: border-box;

        font-size: 8vw;

        margin: -20px auto 0;

        padding: 35px;

        border-radius: 35px;
    }

    /* ABOUT */

    .box1 {
        flex-direction: column;

        width: 92%;

        margin: 5vw auto;

        padding: 7vw 6vw;

        font-size: 4vw;

        gap: 5vw;
    }

    .tamuImage {
        border: 1vw solid white;
    }

    /* contact */

    .connect_text {
        font-size: 14vw;
        margin-top: 60px;
        padding: 0 20px;
    }

    .socialLinks {
        top: 45px;
        gap: 38px;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .socialLinks svg {
        width: 52px;
        height: 52px;
    }

    .contactItem {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        font-size: 14px;
        color: rgb(169, 236, 161);

    }

    .contactItem span {
        overflow-wrap: anywhere;
    }

    .contactItem svg {
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
    }

    .contactInfo {
        top: 90px;
        flex-direction: column;
        align-items: center;
        gap: 18px;
        padding: 0 20px;
        box-sizing: border-box;
    }

}



@media (min-width: 601px) {


    .myImage {
        width: 100%;
        height: 700px;

        margin: -200px 0 0 0;

        object-fit: cover;
    }

    .box {
        position: relative;

        width: 100%;
        box-sizing: border-box;

        font-size: 8vw;

        margin: -5px auto 0;

        padding: 35px;

        border-radius: 35px;
    }

    .nav-links a {
        font-size: 25px;
        padding: 10px 20px;
    }
}



@media (min-width: 768px) {

    .myImage {
        width: 100%;
        height: 800px;

        margin: 20px 0 0 0;

        object-fit: cover;
    }

    .box {
        position: relative;

        width: 100%;
        box-sizing: border-box;

        font-size: 8vw;

        margin: -5px auto 0;

        padding: 35px;

        border-radius: 35px;
    }

    .box1 {
        font-size: 3vw;
    }

    .tamuImage {
        width: 30%;
    }
}



@media (min-width: 800px) {

    .myImage {
        width: 100%;
        height: 1000px;

        margin: -300px 0 0 0;

        object-fit: cover;
    }

    .box {
        position: relative;

        width: 100%;
        box-sizing: border-box;

        font-size: 8vw;

        margin: -5px auto 0;

        padding: 35px;

        border-radius: 35px;
    }

    .box1 {
        font-size: 2.5vw;
    }
}



@media (min-width: 1200px) {

    .myImage {
        display: block;

        margin-left: auto;
        margin-top: -400px;

        width: 750px;
        height: 1250px;

        object-fit: cover;
    }

    .box {
        position: absolute;

        font-size: 60px;

        margin-top: -650px;
        margin-left: 50px;

        width: 750px;

        padding: 60px 80px;

        border-radius: 50px;
    }

    .box1 {
        font-size: 2.2vw;

        padding: 4.2vw;

        margin-left: 6.3vw;
        margin-right: 6.3vw;
        margin-top: 3.5vw;

        border-radius: 5vw;
    }

    .tamuImage {
        width: 25%;
        border: 1.5vw solid white;
    }
}

